from google.appengine.ext import db
from gaeo.model import BaseModel

from model.user import User

class Link(BaseModel):
    comment = db.TextProperty()
    deadline = db.DateTimeProperty()
    desc = db.TextProperty()
    percentage = db.FloatProperty()
    priority = db.IntegerProperty()
    private = db.BooleanProperty()
    stage = db.CategoryProperty()
    title = db.StringProperty()
    url = db.LinkProperty(required=True)

Link.belongs_to(User)